Feature: Create Post

Scenarios

Chart

Status

Progress

4

Passed

75.0 %

Failed

25.0 %
Total duration:
1m 33.017s

Scenario: As an administrator when I create and publish a post it should be visible from home page

Given I log in as administrator 0m 5.230s
When I click on element having css selector "a[href="#/posts/"]" 0m 2.312s
And I click on element having css selector "a[href="#/editor/post/"]" 0m 2.277s
And I enter "" into input field having css selector "div.gh-koenig-editor-pane > textarea" 0m 2.069s
And I enter "" into input field having css selector "div.gh-koenig-editor-pane div[contenteditable=true]" 0m 2.112s
And I click on element having css selector "div.gh-publishmenu" 0m 2.091s
And I click on element having css selector "button.gh-publishmenu-button" 0m 2.077s
And I click on element having css selector "header a[href^="#/posts/"]" 0m 2.288s
And I navigate to home page 0m 2.191s
Then I should see text "" 0m 0.012s
And I should see text "" 0m 0.012s

Screenshots

Given I log in as administrator
When I click on element having css selector "a[href="#/posts/"]"
And I click on element having css selector "a[href="#/editor/post/"]"
And I enter "" into input field having css selector "div.gh-koenig-editor-pane > textarea"
And I enter "" into input field having css selector "div.gh-koenig-editor-pane div[contenteditable=true]"
And I click on element having css selector "div.gh-publishmenu"
And I click on element having css selector "button.gh-publishmenu-button"
And I click on element having css selector "header a[href^="#/posts/"]"
And I navigate to home page
Then I should see text ""
And I should see text ""

Scenario: As an administrator when I create and publish a post it should be visible from home page

Given I log in as administrator 0m 5.251s
When I click on element having css selector "a[href="#/posts/"]" 0m 2.342s
And I click on element having css selector "a[href="#/editor/post/"]" 0m 2.254s
And I enter "Test Post Kraken (No Content)" into input field having css selector "div.gh-koenig-editor-pane > textarea" 0m 2.221s
And I enter "" into input field having css selector "div.gh-koenig-editor-pane div[contenteditable=true]" 0m 2.100s
And I click on element having css selector "div.gh-publishmenu" 0m 2.111s
And I click on element having css selector "button.gh-publishmenu-button" 0m 2.068s
And I click on element having css selector "header a[href^="#/posts/"]" 0m 2.244s
And I navigate to home page 0m 2.178s
Then I should see text "Test Post Kraken (No Content)" 0m 0.012s
And I should see text "" 0m 0.012s

Screenshots

Given I log in as administrator
When I click on element having css selector "a[href="#/posts/"]"
And I click on element having css selector "a[href="#/editor/post/"]"
And I enter "Test Post Kraken (No Content)" into input field having css selector "div.gh-koenig-editor-pane > textarea"
And I enter "" into input field having css selector "div.gh-koenig-editor-pane div[contenteditable=true]"
And I click on element having css selector "div.gh-publishmenu"
And I click on element having css selector "button.gh-publishmenu-button"
And I click on element having css selector "header a[href^="#/posts/"]"
And I navigate to home page
Then I should see text "Test Post Kraken (No Content)"
And I should see text ""

Scenario: As an administrator when I create and publish a post it should be visible from home page

Given I log in as administrator 0m 5.315s
When I click on element having css selector "a[href="#/posts/"]" 0m 2.322s
And I click on element having css selector "a[href="#/editor/post/"]" 0m 2.243s
And I enter "Test Post Kraken" into input field having css selector "div.gh-koenig-editor-pane > textarea" 0m 2.135s
And I enter "Hello World Kraken" into input field having css selector "div.gh-koenig-editor-pane div[contenteditable=true]" 0m 2.266s
And I click on element having css selector "div.gh-publishmenu" 0m 2.111s
And I click on element having css selector "button.gh-publishmenu-button" 0m 2.079s
And I click on element having css selector "header a[href^="#/posts/"]" 0m 2.234s
And I navigate to home page 0m 2.222s
Then I should see text "Test Post Kraken" 0m 0.013s
And I should see text "Hello World Kraken" 0m 0.012s

Screenshots

Given I log in as administrator
When I click on element having css selector "a[href="#/posts/"]"
And I click on element having css selector "a[href="#/editor/post/"]"
And I enter "Test Post Kraken" into input field having css selector "div.gh-koenig-editor-pane > textarea"
And I enter "Hello World Kraken" into input field having css selector "div.gh-koenig-editor-pane div[contenteditable=true]"
And I click on element having css selector "div.gh-publishmenu"
And I click on element having css selector "button.gh-publishmenu-button"
And I click on element having css selector "header a[href^="#/posts/"]"
And I navigate to home page
Then I should see text "Test Post Kraken"
And I should see text "Hello World Kraken"

Scenario: As an administrator when I create and publish a post it should be visible from home page

Given I log in as administrator 0m 5.406s
When I click on element having css selector "a[href="#/posts/"]" 0m 2.354s
And I click on element having css selector "a[href="#/editor/post/"]" 0m 2.234s
And I enter "Test Post Kraken Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long" into input field having css selector "div.gh-koenig-editor-pane > textarea" 0m 2.596s
And I enter "Hello World Kraken Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long" into input field having css selector "div.gh-koenig-editor-pane div[contenteditable=true]" 0m 3.378s
And I click on element having css selector "div.gh-publishmenu" 0m 2.097s
And I click on element having css selector "button.gh-publishmenu-button" 0m 2.079s
And I click on element having css selector "header a[href^="#/posts/"]" 0m 2.244s
And I navigate to home page 0m 2.190s
Then I should see text "Test Post Kraken Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long" 0m 0.013s
And I should see text "Hello World Kraken Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long" 0m 0.013s + Show Error
ERROR: Assertion failed (RuntimeError)
C:/Repos/Git/MISW4103/PruebasE2EGeneracionDatos/KrakenMobile-1.0.9/lib/kraken-mobile/steps/web/kraken_steps.rb:48:in `/^I should see text "(.*?)"$/'
././features/create-post/create-post-scenario2.feature:22:in `And I should see text "Hello World Kraken Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long"'
././features/create-post/create-post-scenario2.feature:15:in `And I should see text '

Screenshots

Given I log in as administrator
When I click on element having css selector "a[href="#/posts/"]"
And I click on element having css selector "a[href="#/editor/post/"]"
And I enter "Test Post Kraken Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long" into input field having css selector "div.gh-koenig-editor-pane > textarea"
And I enter "Hello World Kraken Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long" into input field having css selector "div.gh-koenig-editor-pane div[contenteditable=true]"
And I click on element having css selector "div.gh-publishmenu"
And I click on element having css selector "button.gh-publishmenu-button"
And I click on element having css selector "header a[href^="#/posts/"]"
And I navigate to home page
Then I should see text "Test Post Kraken Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long"
And I should see text "Hello World Kraken Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long"
NO IMAGE AVAILABLE